package com.shop.user.mapper;

//import com.shop.user.entity.User;
import com.base.common.entity.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

@Repository
public interface UserMapper extends Mapper<User> {

    @Select("select * from tb_user where username=#{arg0} and password=#{arg1}")
    User userLogin(String username, String password);
}
